package com.lqian.simplestructure.linearlist;

import com.lqian.simplestructure.linearlist.util.MyArrays;

public class TestMyArrays {
    public static void main(String[] args) {
        MyArrays myArrays = new MyArrays();
        myArrays.add(1);
        myArrays.add(3);
        myArrays.add(4);
        myArrays.add(322);
        myArrays.add(3144);
        myArrays.add(3455);
        myArrays.add(35166);
        myArrays.add(311221);
        myArrays.show();

        int i1 = myArrays.binarySearch(322);
        System.out.println(i1);


    }
}
